added comments and finished styles