added first if statement and size limitations in size square prompt