improved front end layout