Compile error corrected