updated installation guide and added example