working on functionality of dual list