add stub code