added register alloc skeleton