seems to function right know after somer very suspicius errors.