Adding sample operation through API