initial nonworking code