rewritten functions for outline performance in aptana