adding baic graphics functionality and probably other stuff