quick save before I start optimizing and deleting
started with optimizing my main functions