Added ramp input and fixed other inputs