fixed type, added execution for command