refactored due to pkgtool moove to std/felix