added the new method that mirela wrote