removed some _prefixed functions from drawplane and replaced it with functions