set fields to return, removed console log etc.