added package object with method, unit tested