Shouldn't there always be some $data?