Tried to addapt width and height