Made screenWidth and screenHeight Ints and add width/height function