added checker and environment class