finally prepopulating from db