refactoring, still need to work on alias owner for superior code plotting