Removed useless check for int