removed separate get function