lib module added 2 new methods