Sample code for Paddle