add sequence and schema