takes command