working on graphicslayer implementation

NOT WORKING!!