improvements in front controller