Here’s something that might help. The tutorial is a bit dated but still should give you some insight.