added second and third controller