more testing and more functions for feasibility