improve main recipe