are left right and clear really variables? these should go in the global file surely?