some modifications to patterns in DAL