created a plan function to simplify act() and keep things a bit tidier