better way to find action