changed cmd to action