MOLLST subroutine extended/modified