allowed findById to take in Integer