functions for reading a cow