needed to add explicity schema to function call from another function