Added resources, pseudocode