corrected input type