added remaining code samples