renamed sequence, added comments