makes controllers work