failed attempts to speed code