added destination and time functions