removed unnecessary characters after functions