Added dummy sampling function for testing