cleaned up resources/strings + new algorithm