added ugly_time.nil? == false to parse function and now returns empty array as default