CORE VERSION COMPLETE & WORKING