Updated variable types and introduced new method for time retrieval