add logic for placing traps