use a lot less code to activate tiles