added method to get height and console it out