create pingas error handling, time functionality