add core and system and test