Issue is with the sign function?