working on the load function last not down with it
load function is rough but done