writing simple button effects