adding logic for common results