created variables to store height width and gratio