ok now the angle calculation must be fixed!!!