really early outline of the core functions
minor