updated comments and created test method