refactoring

getting rid of the deprecation warning