added proper input