rename input function