Improved solution for 445a