changed static content to dynamic