created a prettier way of creating contexts