rendering tiles is now working