Create usefullfunctions