added rules to check for straight