changed bind function back