working clean github version