Code is simplified via separating common features in external php file