csv export method is successfuly working