made front controller use dynamic invocation