changed Romas bidlo code