Trying to complete the lohin path functionality