works with local space