Some changes. Still haven't figured out yet the blank outputs