This code works :) well, at least application starts :)