got rid of old context init func and put in some comments