populating pharm page