completed skeleton code for Action Commands