used hyphen in if and length