Added code for in command