Remove unused import
Re-arrange recipe code for better readability.