basic input system almost complete