Updated code for implement base action