added ticket close method