Edited Client-example (now using init-method)