removed comments, binded a couple of functions