This can be accomplished through either a written or verbal contract.
We had a verbal contract I would have custody for two weeks.