Added functionality for knockout