added int check