refactored build recipe view method