added onclick listeners