fixed returns, added optional soure_list param

we don’t need the list for testing planairty but we will need it for
producing the embedding