implementation of first commands