Corrected code preview