added second function call