working on version compatibity