Use proplists:get_value/3 here