added a nifty comment for future compilations (hiding comments)
compacted, refactored and added comments