added tile styling functionality