changed header and added input