factorization now works ok.. sceptical though..