The condition from if was wrong. This was only for testing.