Working version before I try to put everything in NGUI