Added the code preview feature