updated comments above methods