creating a button library