added skeleton for read/write/seek