added function tapan in this file