reference type separated to own class