added int restriction