controller simplified