inline short function and group them