moved the get_context method to the source model