addressing compiler warnings