getting sources from the database as opposed to hardcoded in