added commenting; reworked styles