pill working