removed variable selection bits and cleaned up text