renamed dir, added sine procedure for observing process behavior