work for all schemas