DB lab1 perfomance improved