added function signature