refactor a draw function for ambush