additional functionality added and resolution of screen chnaged