Slight modifications. Still seems to work fine.