Fix the dimentions function input and add text for the user