begin pushing functions to graphics lib