swipe components from scotch tutorial and mean_fit to get started