Alpha beta kind of working (still working on it)