fleshed out steam code sample