added more functions to armory library