button type is now submit