Refactor tickets

helper with nice name can improve that line