add entity input and functionality