kinda need the rgets function