added all changes to reverted version