First pass at integrating BASIC