add pills controller