use command instead of action