work on condition model and collection