added new server and img methods