Code for SIGBOVIK 2014 project