cleaned up coregamelayer