removed calling print function for debuggin