derive stub