How To Properly Write A Contract