some contest code