implementation of at commands