code modification for my app