Removed commented code
Changed collection to sequence
Added documentation for sequences