sort the ML-algorithm out
added type to fourfield tasks