setup end level and added transitions