added return for command