Implemented type command for step 5