hopefully got rid of compiler warnings