Added add and get to the custom machine example