build into a gem