Completed simple wolfram alpha logic