remove dash btw date and time
simplify get_location function signatiure