write completely custom binstubs