Added Comments and Documentation