commands for memory of ag commands