Added the possibility of using the height