started re-write in file new_core.clj