stripped functional code from get friendly cores