added checker pattern