cat functions update 2