use proplists:lookup instead of proplists:get_value