turn into proper gem