foundations added
prepared for ajaxification