removed info bar duplicated code