turned off race condition print statement and added double bounded linar K selection