patterns and shortcuts