make code more readable
make window resizable