start working on dealing with deprecated functions