bash type end should be done