Functions added

core functions done