eliminated compiler warnings