added type as default for Button