implemented vlads github feedback