updated BASIC to 0.40