form and ads implemented