added depcreated versions, to keep API compatible for now