path hack - needs some thought