basic mock lib