add alternative solution for future reference