Initial commit
Changed behaviour to utilise ticket agreement rather than time agreement