changed storing system to yaml file