alternative shorter solution