read cat functions added