make sure we have connection first
version 0.2.1