added console inputs