add check for stdargh
add time check for time adapter
add format and handle functions