Fixed compiler errors
Some code for testings