added clause in orm