added timeline functionality