started with function get by input