added frontController functionality