stuff fro OS class