added runtime erro exception