added basic mock support