revamp, using php instead of html