prepare with and extends