moving lunch parts into library so it's more reusable