working on prof. Luciano suggestions