simple example that uses libs