New code

Added buttons.