modified wapframework