solo whale in main and subroutine style