db stuff in gem file