fixed logging
get data reimplemented to new data minute format