need to make sure the global $post variable is included here