removed inline statement to fix compiler warnings