added new version of badend