put aref into separate class