working without foundation
refactor application view