implemented the addlevel command