basic core

basic functions