make better genre write method