started working on converting gui to canvas