with code preview