working with external data