appropriate comments, added layout function