added NULL case for adding animation
added octile heuristic