using cat instead of warning