added functionality for different time-points for different individuals