still have problems with the binarysearch something is missing..