setting up onclick methods