function commenting added