changed client functionality