some changes to input