first attempts of dynamic input
assign works, php and js files divided