made some much better fade code, hopefully it works