try to make this compatable