added notes and fixed layout