about to incorporate date function from Sela