removing deprecated methods