use function to generate tiles
remove unused partials
print css