buggy version, just to search for bugs