added function calls