moved to package. added function when system is added to world