added comments and fixed css