added 2nd stock api
added return
implemented stock example
implemented stock example