button class compatibility