Add ticket functionality working