WIP
Done the apply command