added model and controller extensions