partial working meny..silly mistakes..scoping