implement input grouping for more responsive inputs