Added getrgd function