added stock card function to the application