changed to private methods in controllers