implement stub for testing