Modified for 8mhz