Optimized

Documentation on functions coming soon!