Modified client for lab4