bugfix: requires mylib before using it