separate analyising depth and drawing