added bs inputhandler