moved drl to the right place and removed code