made context registration easier