implementing contest template and application