changed from static html to php based array