Added input via scanf